//
//  UILabel+LongTap.swift
//  Auscultation
//
//  Created by 来 on 2021/1/25.
//

import Foundation

extension UILabel {

    @objc func lgf_AddShowAllText() {
        self.lgf_AddLong(target: self, action: #selector(longTap), duration: 1.0)
    }
    
    @objc func longTap() {
        if self.text?.count == 0 || LGFScreenLabel.isShow {
            return
        }
        LGFScreenLabel.show(self.text ?? "")
    }

}
